package org.fuys.coder.domain.auth.model.annotation;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * @projectName: fuys-low-coder
 * @package: org.fuys.coder.domain.auth.model.annotation
 * @className: PermissionCertify
 * @author: WangJing
 * @description: 验证注解 标注此注解的将进行权限验证
 * @date: 2024/7/10 23:32
 * @version: 1.0
 */
@Retention(RetentionPolicy.RUNTIME)
@Target({ElementType.TYPE, ElementType.METHOD})
public @interface PermissionCertify {
    String permission();
    String executor() default "defaultPermissionCertifyExecutor";
}
